{template 'member', 'header'}
<script type="text/javascript">
<!--
	var charset = '{CHARSET}';
	function selectcity(val){
		var area = $('#area').val();
		$.post("index.php?m=member&c=index&a=getarea", {
			id:val
		}, function(data) {
			$('#area').html("");
			$('#area').html(data);
		}
		);
	}
//-->
</script>
<link href="{CSS_PATH}dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{JS_PATH}dialog.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}content_addtop.js"></script>
<div id="content">
<div id="memberArea">
	{template 'member', 'left'}
	<div class="col-auto">
		<div class="col-1 ">
			<h5 class="title">{L('online_publish')}</h5>
			<div class="content">
				<select name="city"  onchange="selectcity(this.value);">
				<option value="0">请选择</option>
				{loop $city $k $v}
						<option value="{$v['linkageid']}">{$v['name']}</option>
					{/loop}
				</select>
				<span id="area">
				<select>
					<option value="0" >请选择</option>
				</select>
				</span>
			</div>
			<form name="myform" action="{APP_PATH}index.php?m=member&c=owners&a=owners_info" method="post" id="myform">
<table width="100%" cellspacing="0" class="table_form">
    <tr>
       <th>真实姓名：</th>
       <td><input name="owners[true_name]" type="text" id="username" size="30" value="{$member['true_name']}"  class="input-text"/> </td>
     </tr>
     <tr>
       <th>出生日期：</th>
       <td><input name="owners[birthday]" type="text" id="subject" size="30" value="{$member['birthday']}"  class="input-text"/></td>
     </tr>  
      <tr>
       <th>性别：</th>
       <td><input type="radio" value="0" name="owners[sex]" {if $member['sex']==0} checked{/if}/> 男  <input type="radio" {if $member['sex']==1} checked{/if} value="1" name="owners[sex]"/> 女</td>
     </tr>
     <tr>
       <th>头像：</th>
       <td><input name="owners[avatar]" type="text" id="subject" size="30" value="{$member['avatar']}"  class="input-text"/></td>
     </tr>
      <tr>
       <th>联系电话：</th>
       <td><input name="owners[phone]" type="text" id="subject" size="30" value="{$member['phone']}"  class="input-text"/></td>
     </tr>
      <tr>
       <th>qq：</th>
       <td><input name="owners[qq]" type="text" id="subject" size="30" value="{$member['qq']}"  class="input-text"/></td>
     </tr>
     <tr>
       <th>所在城市：</th>
       <td><input name="owners[city]" type="text" id="subject" size="30" value="{$member['city']}"  class="input-text"/></td>
     </tr>
      <tr>
       <th>联系地址：</th>
       <td><input name="owners[address]" type="text" id="subject" size="30" value="{$member['address']}"  class="input-text"/></td>
     </tr>
      </tr>
      <tr>
       <th>个人简介：</th>
       <td><input name="owners[profile]" type="text" id="subject" size="30" value="{$member['profile']}"  class="input-text"/></td>
     </tr>
 
     <tr>
       <td></td>
       <td colspan="2"><label>
         <input type="submit" name="dosubmit" id="dosubmit" value="确 定" class="button"/>
         </label></td>
     </tr>
   </table>
   </form>
			<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
		</div>
	</div>
</div>
<div class="clear"></div>
</div>
<script type="text/javascript"> 

{template 'member', 'footer'}